/* 中英切换 */
import VueI18n from 'vue-i18n' 
import zh from '../lang/zh';
import en from '../lang/en';
const i18n = new VueI18n({
	locale: uni.getStorageSync('locale') || 'zh-cn', // 默认语言为中文
	messages: {
		zh,
		en
	}
})
// common.js
export const tabbar = [{
						   
		iconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/223cbcb92f8ac3cb71f1def5e48a3803.png",
		selectedIconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/3efe35555c96c88d3e202ca1e8312318.png",
		text:  i18n.t('首页'),
		customIcon: false,
		pagePath: '/pages/tabBar/home'
	},
	{
		iconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/9fcc76efd6154893b94d20a7cadc9b95.png",
		selectedIconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/faf0f6baa227e63f8263dbbd9e34d15e.png",
		text: i18n.t('商城'),
		customIcon: false,
		pagePath: '/pages/tabBar/mall'
	},
	{
		iconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/6ef56d13e1311f73baab575bddef81e7.png",
		selectedIconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/3c435e050238346a3e5340ba9cc33ddc.png",
		text:  i18n.t('仓库'),
		customIcon: false,
		pagePath: '/pages/tabBar/cangku',
	},
	{
		iconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/47732fa133334dab4ce42529e434cbc3.png",
		selectedIconPath: "https://v4mh6868.oss-cn-beijing.aliyuncs.com/uploads/20240907/a3f5ebd8b71b4652f0072f797f49c6f9.png",
		text: i18n.t('我的'),
		customIcon: false,
		pagePath: '/pages/tabBar/my',
	},
]


